package com.wsx.ones.status;

import lombok.Getter;

/**
 * @author wangshuaixin
 * @Title: com.wsx.ones.status.OnesStatus
 * @Description: TODO
 * @date 2019/04/19
 */
public enum OnesStatus implements OnesCode {

    SUCCESS(SUCCESS_CODE),
    ERROR(ERROR_CODE),
    UNKNOW_ERROR(UNKNOW_ERROR_CODE);

    @Getter private int code;
    OnesStatus(int code) {
        this.code = code;
    }
}
